package com.netease.task.service;

import com.netease.task.meta.Order;

import java.util.Date;
import java.util.List;

public interface OrderService {

    List<Order> getOrders();

    int addOrder(Order order);

    Order getOrderByBookId(Integer bookId);

    int updateOrderByBookId(Integer bookId,Integer num);

    List<Order> getOrderByType(Integer isComplete);

    int updateIsComplete(Date date);

}
